import 'dart:convert';

T jsonParse<T extends Object>(String str) {
  final obj = jsonDecode(str.replaceAll(RegExp(r'[\x00-\x1F\x7F]'), ''));
  return obj;
}

String jsonStringify(Object? object) {
  return jsonEncode(object);
}